public class EmployeeInFile extends Employee {

	private String pathToFile;
	public String getPathToFile() {
		
		return pathToFile;
	}

	
	public EmployeeInFile(PrivateAffair privateAffair, WorkPlace workPlace) {
	
		super(privateAffair, workPlace);
		this.pathToFile = null;
		System.out.println("Create Employee In File");
	}
	public EmployeeInFile(HumanDescription hDescription, EmploymentContract contract, WorkPlace workPlace) {
	
		super(hDescription, contract, workPlace);
		this.pathToFile = null;
		System.out.println("Create Employee");
	}	
	public EmployeeInFile(String pathToFile) {
		
		super(null,null);
		
		this.pathToFile = pathToFile;
		loadFromFile(this.pathToFile);
		System.out.println("Create Employee In File");
	}

	public Boolean deleteFromFile() {
		// some functionality
		return false;
	}
	
	public Boolean updateInFile() {
		// some functionality
		return false;
	}
	
	public Boolean createFile(String path) {
		// some functionality
		return false;
	}
	
	public void loadFromFile(String path) {
		// some functionality
	}
}